package org.ttitfly.ttcore.util.exception;


public class DAOException extends GLException {

    private static final long serialVersionUID = 880062235277333071L;

    private String[] values;

    public final static String ERROR_DAO_REMOVE_FORBIDDEN_CODE = "E010002040000015";

    public final static String ERROR_DAO_UPDATE_FORBIDDEN_CODE = "E010002030000015";

    public final static String ERROR_DAO_COMMON_CODE = "E010002000000015";

    public DAOException(String msg, String[] values) {
        super(msg);
        this.values = values;

    }

    public String[] getVaules() {
        return values;
    }

    public DAOException(Exception e) {
        super(e);
    }

    public DAOException(String msg) {
        super(msg);
    }

    public DAOException(Throwable e) {
        super(e);
    }

    public DAOException(String msg, Throwable e) {
        super(msg, e);
    }

    public DAOException() {
    }
}
